<ion-view view-title="素材列表">
  <div class="no-data" ng-show="materials === undefined || materials.length <= 0">
    o(╯□╰)o 没有数据
  </div>
  <ion-content style="background-color: #f1f1f1;">
    <!--  素材列表  -->
    <div ng-repeat="item in materials"
         style="background:url({{getItemUrl(item.cover)}}) no-repeat center;-webkit-background-size: cover;background-size: cover;"
         ui-sref="material-detail({material_id:item.id})">
      <div class="material-item text-color-white">{{item.title}}</div>
    </div>
  </ion-content>
</ion-view>
